//
//  SRReaderLogInfo.m
//  SunriseReaderDemo
//
//  Created by 田宇 on 2024/11/29.
//  Copyright © 2024 Chenfan. All rights reserved.
//

#import "SRReaderLogInfo.h"

@implementation SRReaderLogInfo

- (NSMutableDictionary *)toDictionary{
    NSMutableDictionary *dict = [NSMutableDictionary dictionary];
       [dict setObject:self.provinceCode ?: @"" forKey:@"provinceCode"];
       [dict setObject:self.provinceName ?: @"" forKey:@"provinceName"];
       [dict setObject:self.regionCode ?: @"" forKey:@"regionCode"];
       [dict setObject:self.regionName ?: @"" forKey:@"regionName"];
       [dict setObject:self.areaCode ?: @"" forKey:@"areaCode"];
       [dict setObject:self.areaName ?: @"" forKey:@"areaName"];
       [dict setObject:self.channelCode ?: @"" forKey:@"channelCode"];
       [dict setObject:self.channelName ?: @"" forKey:@"channelName"];
       [dict setObject:self.employeeId ?: @"" forKey:@"employeeId"];
       [dict setObject:self.employeeName ?: @"" forKey:@"employeeName"];
       [dict setObject:self.innerSysNo ?: @"" forKey:@"innerSysNo"];
       [dict setObject:self.bizTypeCode ?: @"" forKey:@"bizTypeCode"];
       [dict setObject:self.bizTypeName ?: @"" forKey:@"bizTypeName"];
       [dict setObject:self.opTypeCode ?: @"" forKey:@"opTypeCode"];
       [dict setObject:self.opTypeName ?: @"" forKey:@"opTypeName"];
        [dict setObject:self.startTime ?: @"" forKey:@"startTime"];
        [dict setObject:self.stopTime ?: @"" forKey:@"stopTime"];
        [dict setObject:self.timeCost ?: @"" forKey:@"timeCost"];
       [dict setObject:self.opResultCode ?: @"" forKey:@"opResultCode"];
       [dict setObject:self.opResultDetail ?: @"" forKey:@"opResultDetail"];
       [dict setObject:self.resultTypeCode ?: @"" forKey:@"resultTypeCode"];
       [dict setObject:self.resultTypeName ?: @"" forKey:@"resultTypeName"];
       [dict setObject:self.resultTypeDetail ?: @"" forKey:@"resultTypeDetail"];
       [dict setObject:self.terminalId ?: @"" forKey:@"terminalId"];
       [dict setObject:self.mac ?: @"" forKey:@"mac"];
       [dict setObject:self.totalMemory ?: @"" forKey:@"totalMemory"];
       [dict setObject:self.availMemory ?: @"" forKey:@"availMemory"];
       [dict setObject:self.devModel ?: @"" forKey:@"devModel"];
       [dict setObject:self.devManu ?: @"" forKey:@"devManu"];
       [dict setObject:self.devOsCode ?: @"" forKey:@"devOsCode"];
       [dict setObject:self.devOsName ?: @"" forKey:@"devOsName"];
       [dict setObject:self.devSysVer ?: @"" forKey:@"devSysVer"];
       [dict setObject:self.phoneNumber ?: @"" forKey:@"phoneNumber"];
       [dict setObject:self.cardTypeCode ?: @"" forKey:@"cardTypeCode"];
       [dict setObject:self.cardTypeName ?: @"" forKey:@"cardTypeName"];
       [dict setObject:self.name ?: @"" forKey:@"name"];
       [dict setObject:self.gender ?: @"" forKey:@"gender"];
       [dict setObject:self.nation ?: @"" forKey:@"nation"];
       [dict setObject:self.birthdate ?: @"" forKey:@"birthdate"];
       [dict setObject:self.address ?: @"" forKey:@"address"];
       [dict setObject:self.idCardNumber ?: @"" forKey:@"idCardNumber"];
       [dict setObject:self.issuedBy ?: @"" forKey:@"issuedBy"];
       [dict setObject:self.validDateBegin ?: @"" forKey:@"validDateBegin"];
       [dict setObject:self.validDateEnd ?: @"" forKey:@"validDateEnd"];
       [dict setObject:self.idPhoto ?: @"" forKey:@"idPhoto"];
       [dict setObject:self.cardPic ?: @"" forKey:@"cardPic"];
       [dict setObject:self.opImpl ?: @"" forKey:@"opImpl"];
       [dict setObject:self.cardFrontPic ?: @"" forKey:@"cardFrontPic"];
       [dict setObject:self.cardBackPic ?: @"" forKey:@"cardBackPic"];

    return dict;
}

@end
